home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2000 February
/
PCWorld_2000-02_cd.bin
/
Software
/
Vyzkuste
/
xsetup
/
_SETUP.2
/
Group3
/
XQ IIS Admin Info.xpl
< prev
next >
Wrap
Text File
|
1999-09-13
|
1KB
|
43 lines
"FILE"="Xteq Systems X-Setup Plugin 5.0"
"TYPE"="1"
"COUNT"="2"
"UIPATH"="Internet\Internet Information Server\Other"
"NAME"="Admin Information"
"VERSION"="1.15"
"LANGUAGE"="VBScript"
"TEXT 1"="Name"
"TEXT 2"="EMail"
"DESCRIPTION 1"="Use this plug-in to change the information of the administrator of this server."
"AUTHOR"="Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@gmx.net."
sPC="HKLM\System\CurrentControlSet\Services\W3SVC\Enum\"
sP="HKLM\System\CurrentControlSet\Services\W3SVC\Parameters\"
Sub Plugin_Initialize
if RegPathExists(spC) then
s=RegReadValue(sp&"AdminName")
SetUIElement 1,s
s=RegReadValue(sp&"AdminEmail")
SetUIElement 2,s
else
Disable
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
s=GetUIElement(1)
Call RegWriteValue(sp&"AdminName",s,1)
s=GetUIElement(2)
Call RegWriteValue(sp&"AdminEmail",s,1)
End Sub
Sub Plugin_Terminate
End Sub